package com.bnzj.cloud.oauth2resource.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author
 * @Date 2020/2/19
 * @Version V1.0
 **/
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/authenticated")
    public String authenticatedTest(){
        return "authenticated success!";
    }

    @RequestMapping("/permit")
    public String permitTest(){
        return "permit success!";
    }

    @RequestMapping("/verify/failed")
    public String verifyFailedTest(){
        return "verifyFailed success!";
    }
    @RequestMapping("/verify/success")
    public String verifySuccessTest(){
        return "verify success!";
    }
}
